package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月04 6:52
 * @desc 支付类型
 */
public enum PayTypeEnum implements IDescription {

    CASH(0,"现金"), CASH_CHECK(1,"现金支票"),
    TRANSFER_CHECK(2,"转账支票"), TRANSFER_TELE(3, "转账(电汇)"),
    BANK_ACCEPT(4,"银行承兑"), BUSINESS_CHECK(5, "商业承兑"),
    ELECTRON_CHECK(6,"电子承兑"), CREDITS(7, "抵款"),
    PETTY(8,"冲备用金"), REPLACE_PAY(9,"代付"), OTHER(10, "其他");

    private final String description;

    private final Integer code;

    PayTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
